import { IsOptional } from "class-validator";
import { ApiPropertyOptional } from "@nestjs/swagger";
import { QueryDto } from "/@/common/dto/query.dto";

export class GetCollectDto extends QueryDto {
  @IsOptional()
  @ApiPropertyOptional({ description: "Collectid" })
  readonly id: number;

  @IsOptional()
  @ApiPropertyOptional({ description: "用户id" })
  readonly user_id: number;

  @IsOptional()
  @ApiPropertyOptional({ description: "商品id" })
  readonly goods_id: number;
}
